<ui:composition 
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <div>
        <table width="159" border="0" style="border-spacing:0px;">
            <tr>
                <th width="153" scope="row"> <a href="index.xhtml">Main</a></th>
            </tr>
            <c:if test="#{user.isAuthenticated() == 1}">
                <tr>
                    <th scope="row"><a href="profile.xhtml">Profile</a></th>
                </tr>
                <tr>
                    <th scope="row"><a href="loadvideo.xhtml">Load video</a></th>
                </tr>
                <tr>
                    <th scope="row"><a href="statistics.xhtml">Statistics</a></th>
                </tr>    
            </c:if>
            <tr>
                <th scope="row"><a href=" ">New videos</a></th>
            </tr>

            <c:if test="#{user.isUserAdmin()}">
                <tr>
                    <th scope="row"><a href="users.xhtml">Users</a></th>
                </tr>  
            </c:if>
<!--            <tr>
                <th scope="row"><a href=" ">Exit</a></th>
            </tr>   -->
        </table>
    </div>
</ui:composition>
